﻿using System;
using System.ComponentModel.DataAnnotations.Schema;
using System.Text.Json.Serialization;

/// <summary>
/// 体系要素
/// </summary>
[Table("QHSE_XY_VIOLATION_OBSERVER")]
public class QHSESysViolationObserver : EntityBase
{
    public QHSESysViolationObserver()
    {
    }

    /// <summary>
    /// ID
    /// </summary>
    [Column("OBSERVER_ID")]
    [MaxLength(32)]
    [Key]
    public string Id { get; set; }


    /// <summary>
    /// 沟通编码1
    /// </summary>
    [Column("CODE1")]
    [MaxLength(100)]
    public string? Code1 { get; set; }

    /// <summary>
    /// 沟通名称1
    /// </summary>
    [Column("ITEM1")]
    [MaxLength(500)]
    public string? Item1 { get; set; }
    /// <summary>
    /// 沟通编码2
    /// </summary>
    [Column("CODE2")]
    [MaxLength(100)]
    public string? Code2 { get; set; }

    /// <summary>
    /// 沟通名称2
    /// </summary>
    [Column("ITEM2")]
    [MaxLength(500)]
    public string? Item2 { get; set; }
    /// <summary>
    /// 备注
    /// </summary>
    [Column("NOTE")]
    [MaxLength(200)]
    public string? Note { get; set; }

    /// <summary>
    /// 排序号
    /// </summary>
    [Column("ORDER_NO")]
    public int? OrderNo { get; set; }
}
